﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />


	<link href="__STATIC__admin/css/admin-min.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/admin.css" />
	<link href="__STATIC__admin/iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/icheck/icheck.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__admin/css/skin/default/skin.css" id="skin" />
	<link href="__STATIC__admin/css/admin-style.css" rel="stylesheet" type="text/css" />


<title>第三方登录</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
	<span class="c-gray en">&gt;</span>
	<a href="{:U('admin/config/index')}">第三方登录</a>
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<style>
	.tabCon{
		padding: 10px 0px 20px;
	}
	.page-container{
		padding-top:10px;
	}
</style>
<div class="page-container container">
	<form class="form form-horizontal" id="form-article-add" action="" method="post">
		<div id="tab-system" class="HuiTab">
			<div class="tabBar cl"><span>QQ登录</span><span>新浪微博登录</span></div>
<!--			QQ登录 开始-->
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>APPkey：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text"  id="website-title" placeholder="" value="<?php echo $data['cfg_qq_key'];?>" class="input-text" name="cfg_qq_key">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>APPsecret：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" style="width: 30%;" value="<?php echo $data['cfg_qq_sec'];?>" placeholder="" id="" name="cfg_qq_sec">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span><a href="http://connect.qq.com/" target="_blank">获取腾讯APPKey</a></label>
				</div>
			</div>
<!--			QQ登录 结束-->
<!--			新浪微博登录 开始-->
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>APPkey：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text"  id="website-title" placeholder="" value="<?php echo $data['cfg_sina_key'];?>" class="input-text" name="cfg_sina_key">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>APPsecret：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" class="input-text" style="width: 30%;" value="<?php echo $data['cfg_sina_sec'];?>" placeholder="" id="" name="cfg_sina_sec">
					</div>
				</div>

				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2"><span class="c-red"></span><a href="https://open.weibo.com/" target="_blank">获取新浪微博APPKey</a></label>
				</div>
			</div>
<!--			新浪微博登录 结束-->
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button onClick="article_save_submit();" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
				<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>

<script type="text/javascript" src="__STATIC__admin/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__admin/layer/2.1/layer.js"></script>
<script type="text/javascript" src="__STATIC__admin/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript" src="__STATIC__admin/jquery.validation/1.14.0/jquery.validate.min.js"></script>
<script type="text/javascript" src="__STATIC__admin/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__STATIC__admin/jquery.validation/1.14.0/messages_zh.min.js"></script>
<script type="text/javascript" src="__STATIC__admin/js/admin.js"></script>
<script type="text/javascript" src="__STATIC__admin/js/admin-admin.js"></script>
<!--/_footer /作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	$.Huitab("#tab-system .tabBar span","#tab-system .tabCon","current","click","0");
});
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>